#include "TEMath.h"
#include <cmath>

//
// fEquals
//

bool fEquals(const float x, const float y, const float diff)
{
  return fabs(x - y) < diff;
}

bool fEquals(const double x, const double y, const double diff)
{
  return fabs(x - y) < diff;
}